﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using PhoneBook.Manage;

namespace Web.controls
{
    public partial class sidebar : System.Web.UI.UserControl
    {
        protected DataSet menus
        {
            get
            {
                if (!(ViewState["sidebar_menus_jk2klsdjh"] is DataSet))
                {
                    DataSet ds = Manage.getMenu(Commons.StrUtil.FormatValue(Session["userid"]));
                    ViewState["sidebar_menus_jk2klsdjh"] = ds;
                }
                return ViewState["sidebar_menus_jk2klsdjh"] as DataSet;
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}